package io.renren.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * 
 * @author Mark
 * @email sunlightcs@gmail.com
 * @date 2020-12-24 15:24:10
 */
@Data
@TableName("schedule_job_rebase")
public class ScheduleRebaseJobEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	/**
	 * 任务调度参数key
	 */
	public static final String JOB_REBASE_KEY = "JOB_REBASE_KEY";
	/**
	 * 任务id
	 */
	@TableId
	private Long jobId;
	/**
	 * spring bean名称
	 */
	private String beanName;
	/**
	 * 参数
	 */
	private String params;
	/**
	 * 任务状态  0：未执行  1：以执行
	 */
	private Integer status;
	/**
	 * 执行时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date executeTime;
	/**
	 * 备注
	 */
	private String remark;

}
